package com.cskaoyan.service.promote;


import com.cskaoyan.bean.promote.Advertising;
import com.cskaoyan.bean.promote.base.PromotePageData;
import com.cskaoyan.bean.promote.base.PromoteParam;
import com.cskaoyan.bean.promote.bo.AdvertisingSearchBO;
import com.cskaoyan.bean.promote.exception.AddAdvertisingException;
import com.cskaoyan.bean.promote.exception.DeleteAdvertisingException;
import com.cskaoyan.bean.promote.exception.UpdateAdvertisingException;

/**
 * @author liXiaoFei
 * @date 2021/10/18 17:08
 */
public interface AdvertisingService {
    PromotePageData queryAdvertising(PromoteParam promoteParam, AdvertisingSearchBO advertisingSearchBO);

    Advertising addAdvertising(Advertising advertising) throws AddAdvertisingException;

    Advertising updateAdvertising(Advertising advertising) throws UpdateAdvertisingException;

    void deleteAdvertising(Advertising advertising) throws DeleteAdvertisingException;
}
